home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 60.zip / BS1 part 60 / Imagemaster d4.adf / apa.lzh / morph_tut8 < prev    next >
Text File  |  1993-08-30  |  7KB  |  126 lines

  1. \ApAssist
  2. \: - This is the Quick Help for the special effects warp morph panel -
  3. \: ---------------------------------------------------------------------
  4. \:   Written by David E. Patterson
  5. \: ---------------------------------------------------------------------
  6.  
  7. \font topaz.font 8
  8. \tc 1
  9. \wr
  10. \lj
  11. \dd "imh_descriptor"
  12.  
  13. \node "morph_cmtools"
  14. \title "More on Morphing - Compose Morphing Frames, Points, and Edges"
  15. \next "morph_tut9/morph_cmm"
  16. \prev "morph_tut7/morph_ctools"
  17. \{ \ra \image "Clips/Bullet2.pic" l 0 \cap
  18. \{ \ts bu Morphing and Frames\} \} \flushimage
  19. When we speak of frames with regard to dual-image morphing, we are referring
  20. to the concept that many morphs are intended to be animated.  Because of
  21. this, the morphs would be performed over a series of intermediate frames
  22. where the effect is slightly more complete in each of the frames. For
  23. instance, when someone says thay are creating a 15-frame dual-image morph,
  24. the idea they are conveying is that in frame 15, the morph has fully
  25. converted from the starting image to the ending image. In frame 8, the middle
  26. frame, the effect would be a 50% mix of both frames, and so on for each
  27. intermediate frame.  When a sequence of frames are rendered, the "flow" of
  28. the surfaces of the images under control of the points and edges is apparent
  29. as the frames are viewed in series. 
  30.     
  31. When the object of a dual-image morph is a single final image and not a
  32. sequence of images, the convention is to assume that the desired image is the
  33. middle image of a sequence (of any length). As an example, if \{ \ts b
  34. Imagemaster R/t \} has been set for a 15-frame sequence, rendering frame 8
  35. will provide a result with the mix of the two images most obvious.
  36.     
  37. \{ \ts b Imagemaster R/t \} allows you to choose a frame from anywhere within
  38. the currently set sequence length when you render a single frame instead of a
  39. sequence of frames. Simply remember that when you are creating a single frame
  40. result of a dual-image morph you should set the frame to be rendered to be
  41. the middle of the length of the sequence.  This is done in the \{ \ts i \tc
  42. 10 Do 1 Frame \} control panel, which is described in more detail later.
  43.  
  44. \{ \ra \image "Clips/Bullet2.pic" l 0 \cap
  45. \{ \ts bu Points\} \} \flushimage
  46. Control points are used to define the flow of the image surface over the
  47. frames of a morph; when the object is one single image instead of a sequence,
  48. you should still think of the control points this way - it's just that you're
  49. only interested in the middle frame of the sequence. The start point defines
  50. the portion of the image that will be moved, and the end point defines the
  51. location for that portion of the image for the final frame of the morph.
  52.  
  53. Control points can be thought of in two ways. First, and most conveniently,
  54. as a series of pairs of points, just as you see them in the main dual-window
  55. interface. 
  56.     
  57. Secondly, you can consider the two points as the endpoints of a path, over
  58. which the images must \{ \ts i flow \} to accomplish the changes you are
  59. specifying with the points. You can actually see these paths in the \{ \ts i
  60. \tc 10 Arc Vectors \} window.
  61.     
  62. It is not strictly correct to think of control points as the endpoints of
  63. vectors, for \{ \ts b Imagemaster R/t \} can make the course between the two
  64. points a complex curve instead of a straight line. That is why you should
  65. think of them as paths, rather than vectors.  The default course between two
  66. points is a straight line (vector). Extension from a vector to a more complex
  67. path is done in the \{ \ts i \tc 10 Arc Vectors \} interface, where you can
  68. \{ \ts i grab \} the vector and shape it into a curve. This is described in
  69. more detail in the portion of this document that describes the \{ \ts i \tc
  70. 10 Arc Vectors \} control panel. 
  71.  
  72. Placement of points should be done such that they are deposited at all key
  73. corresponding locations on the two image's surfaces. If we take the case of a
  74. face as an example, the corners of the eyes and mouth are obvious candidates.
  75. In addition, placement of points regularly along the edge of the profile will
  76. help control the images more exactly. 
  77.  
  78. Points are never discarded by \{ \ts b Imagemaster R/t\} 's morphing
  79. procedures, even if they are defined in a conflicting manner. For this
  80. reason, you need to be careful that you do not place your points in such a
  81. way as to cause a conflict - one example of this is when the paths of two
  82. points cross each other during the course of a morph. This, and similar
  83. situations, will create folding and/or tearing in the image. Often you will
  84. find it easy to determine if such a condition exists by observing the paths
  85. defined by the endpoints in the \{ \ts i \tc 10 Arc Vectors \} interface.
  86.  
  87. Points cannot completely restrain an image, because they only exactly control
  88. the portion of the images directly underneath where they are placed. Areas of
  89. the images which are not directly underneath a point (or an edge) are
  90. adjusted according to the motions of the points which are nearest. Even
  91. points which are quite far away may add motion to an otherwise uncontrolled
  92. region.  When a portion of an image needs more exact control, you should use
  93. points in conjunction with edges, described next.
  94.  
  95. \{ \ra \image "Clips/Bullet2.pic" l 0 \cap
  96. \{ \ts bu Edges\} \} \flushimage
  97. Edges are similar to points in that they specify movement for the surface of
  98. the image. They differ in that they control a much larger region, the entire
  99. area exactly under the line. 
  100.     
  101. Edges also differ in that \{ \ts b Imagemaster R/t\} 's morphing procedures
  102. may discard an edge under certain circumstances, such as when two edges are
  103. defined that cross each other. When creating edges, you should take care to
  104. ensure that you do not create a situation like this, as the results are
  105. undefined and will result in the images tearing or folding. 
  106.     
  107. Placement of edges should generally be done along lines in the images such as
  108. the edges of eyes or a profile. They will restrict the motion of the image's
  109. surface such that image data will not be transferred across the line,
  110. retaining colors precisely within the regions which are bounded by edges.
  111. Most high-quality morphs will use almost as many edges as they do points.
  112.  
  113. \{ \ra \image "Clips/Bullet2.pic" l 0 \cap
  114. \{ \ts bu Morphing Time\} \} \flushimage
  115. The time it takes \{ \ts b Imagemaster R/t \} to generate morph output frames
  116. is based almost entirely upon the size of the output images in the sequence.
  117. Anti-aliasing also adds a certain amount of time to the generation of each
  118. frame, again directly proportional to the size of the output image. A small
  119. amount of additional time is needed to compute frames that contain custom
  120. point-velocity computations.  The size of the input images has no effect (and
  121. they may even be different resolutions, also with no effect on time); \{ \ts
  122. b Imagemaster R/t \} always scales images as needed during operations. 
  123.  
  124. \endnode
  125.  
  126.